package com.example.ymm.modules1.service.dto.common;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ExcelData implements Serializable {
    @ExcelProperty(index = 0, value = "名称")
    private String title;

    @ExcelProperty(value = "题目", index = 1)
    private String value;

    // 该字段用于保存数据所在行的行号
    @ExcelIgnore
    private Integer rowId;
}
